package com.lancer.beans;


import com.lancer.MyCondition;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Service;

@Service
@Conditional(MyCondition.class)
public class ConstructorServiceTest {


	private String name;


	public ConstructorServiceTest() {
		System.out.println("use the default constructor");
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


}
